package com.xuedakun.sample.xasdk.volley_test;

import java.io.Serializable;
import java.util.List;

/**
 * Created by xuedakun on 2017/6/4 14:40
 *
 * @version : v1.0
 * @project : xasdk
 * @Email : dakun611@Gmail.com
 */

public class TestResult extends SampleBaseResult {

    private List<Data> data;

    public List<Data> getData() {
        return data;
    }

    public void setData(List<Data> data) {
        this.data = data;
    }

    public static class Data implements Serializable {
        private int _id; //宝宝ID
        private String babyName; //宝宝名字
        private String babyNick; //宝宝昵称
        private String remark;//宝宝备注
        private int sex; //宝宝性别（1：男，2：女）
        private String avatar;
        private long birthDay; //宝宝生日 时间戳
        private int birthWay; //宝宝出生方式（1：顺产，2：剖腹产）
        private int birthType; //出生类型（1：正常，2：早产）
        private int eatType; //喂养类型（1：母乳，2：奶粉）
        private String code;
        private int type;//1:孕中  2:出生
        private int weight; // 体重，单位：克
        private int height; // 身高，单位：厘米
        private int flag;
        private long createTime; //创建时间
        private String createUser;//创建者ID
        private long updateTime; //最后修改时间
        private long pregnantDate; //怀孕日期
        private String relation; // 用户与宝宝的关系
        private List<String> relations;
        private List<String> parents;
        private int day;
        private int role;//1：爸爸妈妈；2：月嫂；3爷爷奶奶外公外婆；4：叔叔舅舅阿姨等

        public int get_id() {
            return _id;
        }

        public void set_id(int _id) {
            this._id = _id;
        }

        public String getBabyName() {
            return babyName;
        }

        public void setBabyName(String babyName) {
            this.babyName = babyName;
        }

        public String getBabyNick() {
            return babyNick;
        }

        public void setBabyNick(String babyNick) {
            this.babyNick = babyNick;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public long getBirthDay() {
            return birthDay;
        }

        public void setBirthDay(long birthDay) {
            this.birthDay = birthDay;
        }

        public int getBirthWay() {
            return birthWay;
        }

        public void setBirthWay(int birthWay) {
            this.birthWay = birthWay;
        }

        public int getBirthType() {
            return birthType;
        }

        public void setBirthType(int birthType) {
            this.birthType = birthType;
        }

        public int getEatType() {
            return eatType;
        }

        public void setEatType(int eatType) {
            this.eatType = eatType;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public long getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(long updateTime) {
            this.updateTime = updateTime;
        }

        public String getRelation() {
            return relation;
        }

        public void setRelation(String relation) {
            this.relation = relation;
        }

        public int getFlag() {
            return flag;
        }

        public void setFlag(int flag) {
            this.flag = flag;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public int getWeight() {
            return weight;
        }

        public void setWeight(int weight) {
            this.weight = weight;
        }

        public int getHeight() {
            return height;
        }

        public void setHeight(int height) {
            this.height = height;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String babyRemark) {
            this.remark = babyRemark;
        }

        public int getRole() {
            return role;
        }

        public void setRole(int role) {
            this.role = role;
        }

        public int getDay() {
            return day;
        }

        public void setDay(int day) {
            this.day = day;
        }

        public String getCreateUser() {
            return createUser;
        }

        public void setCreateUser(String createUser) {
            this.createUser = createUser;
        }

        public List<String> getRelations() {
            return relations;
        }

        public void setRelations(List<String> relations) {
            this.relations = relations;
        }

        public List<String> getParents() {
            return parents;
        }

        public void setParents(List<String> parents) {
            this.parents = parents;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public long getPregnantDate() {
            return pregnantDate;
        }

        public void setPregnantDate(long pregnantDate) {
            this.pregnantDate = pregnantDate;
        }
    }
}
